package org.example.db.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("会员收藏")
@AllArgsConstructor
@NoArgsConstructor
public class Collect{
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    Long id;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    Long userId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    Long goodsId;
    String addTime;
    String updateTime;
}
